package jfprincesstests.fakes;

import jfuzzyprincepless.zarchive.algorithm.structure.ICommandConstruction;
import jfuzzyprincepless.negotiation.IExecutionContext;

public class FakeCmd
	implements ICommandConstruction
{
	protected StringBuilder sb;
	protected String command;

	public FakeCmd(StringBuilder sb, String command/*, int activateCount*/) {
		this.sb = sb;
		this.command = command;
	}

	@Override
	public void execute(IExecutionContext context) {
		sb.append(command).append(";");
		return;
	}

	@Override
	public String toString() {
		return command;
	}
}
